package cn.edu.zut.sunday.sst.init;

import cn.edu.zut.sunday.base.init.AutoImportDataService;
import cn.edu.zut.sunday.sst.service.InsertDataService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;


@Slf4j
@Component
public class InsertDatasetService extends AutoImportDataService {

    /**
     * 设置自己特定的导入数据的服务
     * @param insertDataService 加载四个文件，导入其中的数据进入数据库的服务
     */

    @Autowired
    public void setInsertDataService(InsertDataService insertDataService) {
        this.initDatabaseService = insertDataService;
    }
}
